-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update sqlcipher [WPB-11808] #3069
Conversation
Quality Gate passedIssues Measures |
Bencher Report
Click to view all benchmark results
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3069 +/- ##
========================================
Coverage 52.70% 52.71%
========================================
Files 1317 1317
Lines 51112 51112
Branches 4742 4742
========================================
+ Hits 26941 26942 +1
+ Misses 22246 22245 -1
Partials 1925 1925 see 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Datadog ReportBranch report: ✅ 0 Failed, 3144 Passed, 106 Skipped, 33.8s Total Time |
(cherry picked from commit 2ddb183)
* chore: android gradle plugin update (#3064) * chore: update sqlcipher [WPB-11808] (#3069) (cherry picked from commit 2ddb183) * feat: add a wild card request * return response as string * detekt package name --------- Co-authored-by: Jakub Żerko <[email protected]> Co-authored-by: Michał Saleniuk <[email protected]>
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
The app stalls when fetching a page of conversations from the local DB.
Causes (Optional)
Queries used to fetch a page of conversations from the local DB are very complicated, use sql views and many nested left joins resulting in full table scan of messages.
Solutions
Update sql cipher to newest one (4.6.1) to use newest sqlite version (3.46.1) in our app, in which it looks like they updated and fixed something to better optimise queries so that in our case it no longer performs the SCAN Message.
Here's the comparison:
SQLite 3.42.0 (default for Andoid 14; in non-debug we use 3.44.2 which creates the same result)
SQLite 3.46.1 (newest one)
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.